<%@ page import="ro.gateway.aida.admin.ActivityObjectsOptions,
                 ro.xblue.translator.*"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/taglib.tld" prefix="lpd" %>
<trans:initPage module="prj_pages" />

<%

      String ctx = request.getContextPath();

      LanguageBean lang_bean = TranslatorUtils.getCurrentLanguage(request, application);

%>



<html>

<head>

<title>Romania Development Gateway - AIDA (under construction)</title>

	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

	<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

	<link rel="stylesheet" href="alf.css" type="text/css"><LINK rel="stylesheet" type="text/css" href="<html:rewrite page='/alf.css'/>">

</head>



<body>

<jsp:include page="../header.jsp" />

<table width="60%" background=<%=ctx%>/images/pixelbgtable.gif cellpadding="4" cellspacing="1" class="text_searchbold" align="center">

      <tr>

            <td colspan="2"class="textalb">

            <trans:showPageMessage label="translator.transitemeditor" />

            </td>

      </tr>
<html:form action="/translator/edit_item" >
<tr bgcolor="#FFFFFF">

      <td>

      <logic:present name="all_langs_items">

            <trans:showPageMessage label="translator.source" />:

            <html:select property="src_lang" onchange="javascript:submit();" >

                  <html:options collection="all_langs_items"

                        property="lang" labelProperty="lang"/>

            </html:select>

      </logic:present>



      </td>

      <td><trans:showPageMessage label="translator.target" />:

      <logic:present name='<%=TranslatorConstants.BLUE_AVAIL_LANGS%>' scope="application">

            <html:select property="dest_lang" onchange="javascript:this.form.action.value='edit';submit();" >

                  <html:options collection='<%=TranslatorConstants.BLUE_AVAIL_LANGS%>'

                        property="language" labelProperty="language"/>

            </html:select>

      </logic:present>

      </td>

      </tr>



      <logic:present name="errors" scope="request" >

            <tr bgcolor="#FFFFFF">

            <td colspan="2">

            Errors:<br>

            <logic:iterate id="error" scope="request" name="errors">

            <bean:write name="error" /><br>

            </logic:iterate>

            </td>

            </tr>

      </logic:present>



      <tr bgcolor="#FFFFFF">

            <td>

                  <trans:showPageMessage label="translator.modul" />:

            </td>

            <td>

                  <html:text property="module"></html:text>

            </td>

      </tr>

      <tr bgcolor="#FFFFFF">

            <td>

                  <trans:showPageMessage label="translator.label" />:

            </td>

            <td>

                  <html:text property="label"></html:text>

            </td>

      </tr>

      <tr bgcolor="#FFFFFF">

            <td>

            


                  <trans:showPageMessage label="translator.text" />:
<logic:present name="all_langs_items">

                  <html:text property="srcText" readonly="true"  ></html:text>

            </logic:present>
            </td>

            <td>

                  <html:text property="text"></html:text>

            </td>

      </tr>



      <input type="hidden" name="action" value=""/>
      <tr bgcolor="#FFFFFF" align="center">
            <td colspan="2">
                  <input type="button" name="un1"
                        class="butonsave"
                        value="<trans:showPageMessage label="translator.save" hide_link="true" />"
                        onclick="this.form.action.value='save';this.form.submit();"/>
                  <input type="button" name="un1"
                        value="<trans:showPageMessage label="translator.cancel" hide_link="true" />"
                        class="butonsave"
                        onclick="this.form.action.value='cancel';this.form.submit();"/><trans:showPageMessage label="translator.showhiddentags"/>
            </td>
      </tr>

</tr>



</table>

</html:form>



<jsp:include page="../footer.jsp" />

</body>



</html>

